By choosing General on the DOCUMENT Property Pages dialog box, you can set properties governing the structure and appearance of the current document. To access this dialog box, open a document for editing and do not select any elements on the page. Choose Property Pages from the View menu, and then click General to access the following options:
Page title
Sets the text string inserted between the <TITLE> </TITLE>
tags in the <HEAD>
of your Web page. When your page is open at the topmost level within your browser, its title displays in the title bar of your browser window.
Background image
Identifies an image file to display as the background for your page. You can either type in the image path or click the ellipse (...) button and navigate to the file's location.
Note In some cases, the full image path is inserted into the HTML markup for the BODY
element as the value of the BACKGROUND
property
<BODY BACKGROUND="file:///C:\Docs\VS7Docs\MySolution\banner.gif">
Edit this markup in HTML View if you prefer to use relative paths.
<BODY BACKGROUND="banner.gif">
Tip If you are using CSS styles, you can also choose to remove the BACKGROUND
property from the BODY
element, and instead define the background-image
property in your CSS style for the BODY element.
BODY {background-image:url(banner.gif); font-family:Verdana, Helvetica, sans-serif; font-size:9pt;}
Nonscrolling background
By default, the background image scrolls as you scroll the page. Select this checkbox to disable background scrolling.
Target Schema
This pop-up selects the minimum version of HTML a browser must be able to parse to view your Web page.
Note To use CSS styles, you must select a Web browser that supports the HTML 4.0 schema. When the browser name is also listed, this indicates a particular Document Object Model (DOM) targeted by your HTML markup.
Character Set
From this pop-up, you can select the default character set for the current Web page.
Note The Windows operating system can provide a broad selection of international character sets. To change the character set that Windows maps to your keyboard, select Control Panel from the Start menu, choose Keyboard Properties, and click the Language tab. Be sure to change the character set of your page on the General tab of Document Properties. This will insert the appropriate META CHARSET tag into the HEAD of your document, for example
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
Page Layout
Sets element positioning preferences for the current page to LinearLayout (default) or GridLayout. LinearLayout lets the client Web browser position elements one after the other, as they occur in the markup for the page. GridLayout permits absolute positioning of elements at specified locations on the page, activates the positioning grid in Design View. and adds the MS POSITIONING
attribute to the opening <BODY>
tagin the HTML markup for the page:
<BODY MS POSITIONING="GridLayout" �>
With GridLayout selected and Snap to Grid turned on, when you release the mouse after dragging an element into the desired areas of your Web page, its position is aligned automatically with the nearest horizontal and vertical grid lines. The positioning attributes for this element are adjusted accordingly.
Show Grid
By default, the positioning grid appears in Design View of the HTML Designer when you select GridLayout as your Page Layout preference. Clear this checkbox to conceal the grid.
Client
Sets the default scripting language for the current page. The available languages are JavaScript (default) and VBScript.